package com.awccis.driver.model.credit;

import java.util.Date;

/**
 * @author: txp
 * @date: 2018/5/15 on 下午12:36
 * @since: 1.0
 * @description: 积分详情
 **/
public class CreditBean {
    private int creditId;
    private int driverId;
    private double creditAction;
    private String creditReason;
    private Date creditDateTime;

    public CreditBean(int driverId, double creditAction, String creditReason) {
        this.driverId = driverId;
        this.creditAction = creditAction;
        this.creditReason = creditReason;
    }

    public int getCreditId() {
        return creditId;
    }

    public void setCreditId(int creditId) {
        this.creditId = creditId;
    }

    public int getDriverId() {
        return driverId;
    }

    public void setDriverId(int driverId) {
        this.driverId = driverId;
    }

    public double getCreditAction() {
        return creditAction;
    }

    public void setCreditAction(double creditAction) {
        this.creditAction = creditAction;
    }

    public String getCreditReason() {
        return creditReason;
    }

    public void setCreditReason(String creditReason) {
        this.creditReason = creditReason;
    }

    public Date getCreditDateTime() {
        return creditDateTime;
    }

    public void setCreditDateTime(Date creditDateTime) {
        this.creditDateTime = creditDateTime;
    }

    @Override
    public String toString() {
        return "CreditBean{" +
                "creditId=" + creditId +
                ", driverId=" + driverId +
                ", creditAction=" + creditAction +
                ", creditReason='" + creditReason + '\'' +
                ", creditDateTime=" + creditDateTime +
                '}';
    }
}
